<template>
  <div id="temp">
    <mt-header fixed title="在线考试"></mt-header>
    <div class="time">剩余时间： 19分45秒</div>
    <div class="center">
      <mt-radio
        title="单选框列表"
        :options="['选项A', '选项B', '选项C']">
      </mt-radio>
    </div>
   <div class="btmTab">
   eee
   </div>
  </div>
</template>
<script>
  import {Toast} from 'mint-ui';
  import kit from '../../kits/apikit'

  export default {
    components: {},
    data() {
      return {
        // radio的选项
        options: [],
      }
    },
    created() {

      this.tabControl();
    },
    methods: {
      //选择题
      tabControl() {
        this.options = [
          {
            "q_id": "1",
            "q_type": "1",
            "q_title": "中国共产党从1921年在嘉兴南湖的摇船上诞生之日起，就有（）、从严要求的传统。",
            "q_question_a": "整风肃纪",
            "q_question_b": "治党建党",
            "q_question_c": "三大作风",
            "q_question_d": "自律意识",
            "q_question_e": "",
            "q_answer_a": "a",
            "q_answer_b": "b",
            "q_answer_c": "c",
            "q_answer_d": "d",
            "q_answer_e": "e",
            "q_answer": "b",
            "q_judgment": null,
            "q_judgment_answer": "100",
            "q_score": "5",
            "q_exam_id": "1"
          },
          {
            "q_id": "2",
            "q_type": "1",
            "q_title": "《古田会议决议》确立了着重从（）建党这一重要原则",
            "q_question_a": "文化上",
            "q_question_b": "思想上",
            "q_question_c": "组织上",
            "q_question_d": "制度上",
            "q_question_e": "",
            "q_answer_a": "a",
            "q_answer_b": "b",
            "q_answer_c": "c",
            "q_answer_d": "d",
            "q_answer_e": "e",
            "q_answer": "b",
            "q_judgment": null,
            "q_judgment_answer": "100",
            "q_score": "5",
            "q_exam_id": "1"
          },
          {
            "q_id": "3",
            "q_type": "1",
            "q_title": "1954年《中华人民共和国宪法》的制定，意味着（   ）。",
            "q_question_a": "中国的社会主义法制建设已经完善",
            "q_question_b": "新中国的民主政治建设已经完善",
            "q_question_c": "中国第一部社会主义类型的宪法产生",
            "q_question_d": "政治协商会议使命结束",
            "q_question_e": "",
            "q_answer_a": "a",
            "q_answer_b": "b",
            "q_answer_c": "c",
            "q_answer_d": "d",
            "q_answer_e": "e",
            "q_answer": "c",
            "q_judgment": null,
            "q_judgment_answer": "100",
            "q_score": "5",
            "q_exam_id": "1"
          },
          {
            "q_id": "4",
            "q_type": "1",
            "q_title": "中国新民主主义革命胜利的三大法宝：（    ）、武装斗争、党的建设。",
            "q_question_a": "党的建设",
            "q_question_b": "党的领导",
            "q_question_c": "群众路线",
            "q_question_d": "统一战线",
            "q_question_e": "",
            "q_answer_a": "a",
            "q_answer_b": "b",
            "q_answer_c": "c",
            "q_answer_d": "d",
            "q_answer_e": "e",
            "q_answer": "d",
            "q_judgment": null,
            "q_judgment_answer": "100",
            "q_score": "5",
            "q_exam_id": "1"
          }
        ]
      },
    }
  }
</script>
<style scoped lang="less">
  /*1.首页改颜色*/
  .mint-header {
    height: 45px;
    background-color: #4284D8;
    font-size: .35rem;
  }
  .time {
    padding-top: 0.9rem;
    text-align: center;
    background-color: rgb(255, 248, 229);
    color: rgb(236, 84, 46);
    line-height: .6rem;
  }
  .btmTab{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 248;
    background-color: rgb(247, 247, 247);
    box-shadow: rgba(153, 153, 153, 0.14) 0px -4px 7px 0px;
    height: .9rem;
    line-height: .9rem;
  }
</style>
